/************************************************************************
 * <br>
 * <ul>
 * <li>版权所有：唐山弘川科技有限公司 2009－2020</li>
 * <li>创建日期：2009-8-13</li>
 * <li>初始作者：刘川</li>
 * </ul>
 * <ul>
 * <b>修订历史</b>
 * <li>1、</li>
 * </ul>
 ***********************************************************************/
package com.hy.erp.inventory.pojo ;

import javax.persistence.Column ;
import javax.persistence.Entity ;
import javax.persistence.Table ;

import org.hibernate.annotations.Index ;
//import org.jboss.seam.annotations.Name ;

import com.hy.erp.inventory.dao.interfaces.IBillTypeDao;
import com.hy.erp.inventory.pojo.interfaces.IBillType;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
/**
 * 
 * <ul>
 * <li>开发作者：李冰</li>
 * <li>设计日期：2010-10-5；时间：上午09:27:02</li>
 * <li>类型名称：BillType</li>
 * <li>设计目的：单据类型</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
@ Entity 
@Table(name="t_billType") 
/*@Name("billType")
@ DaoA ( IBillTypeDao.class )*/
public class BillType extends MyBaseModel //implements IPositonType
//public class BillType  extends AbstractPersistentEntity implements  IBillType
{
	private static final long	serialVersionUID	=
	                                                  - 1681628613009693470L ;

	
	
	@ Column ( name = "name" , length = 50 )
	@ Index ( name = "nameIndex" )
	public String getName ( )
	{
		return this.get(IBillType.NAME) ;
	}

	public void setName (
							String name )
	{
		super.set (IBillType.NAME , name );
	}
	@ Column ( name = "description" , length = 200 )
	@ Index ( name = "descriptionIndex" )
	public String getDescription ( )
	{
		return this.get(IBillType.DESCRIPTION) ;
	}

	public void setDescription (
									String description )
	{
		super.set (IBillType.DESCRIPTION , description );
	}

	

	public BillType ( )
	{
		
	}

	

}
